<!DOCTYPE html>

<html>
	<head>
		<link rel="stylesheet" href="../../../themes/themeroller/default-theme/ui.all.css" type="text/css" media="screen" />
		<link rel="stylesheet" href="../../../themes/nokia/ext-theme/default/360x640/custom.css" type="text/css" media="screen" />
		
		<script src="../../../lib/jquery/jquery.js" type="text/javascript" charset="utf-8"></script>
		
		<script src="../../../src/defaults.js" type="text/javascript" charset="utf-8"></script>
		<script src="../../../src/core.js" type="text/javascript" charset="utf-8"></script>
				
		<style type="text/css" media="screen">
			body {
				font-size: 14px;
				padding: 15px;
				font-family: "Trebuchet MS", "Helvetica", "Arial",  "Verdana", "sans-serif";
			}

			p {
				margin: 30px 10px;
			}

		</style>

	</head>

	<body>

		<br/><br/>

		<div id="textlabel"></div>
		<div id="content">
			Lorem <strong>ipsum dolor</strong> sit amet, <em style="color: red;">consectetur</em> adipisicing elit, sed do <em><strong>eiusmod tempor</strong></em> incididunt ut labore et dolore magna aliqua.
			Lorem <strong>ipsum dolor</strong> sit amet, <em style="color: red;">consectetur</em> adipisicing elit, sed do <em><strong>eiusmod tempor</strong></em> incididunt ut labore et dolore magna aliqua.
		</div>

		<script type="text/javascript" charset="utf-8">

			var init = function() {

				window.textlabel = new Nokia.TextLabel({
					element: '#textlabel',

					content: '#content',

					create: function() {
						console.log("create");
					},

					style: {
						width: 300,
						height: 250,
						fontSize: '15px',
						padding: '10px',
						lineHeight: '35px'
						//,overflow: 'visible',
						//border: 'none',
						//background: 'none'
					}
				});
				
				/*
				 * Hide splash when its all done.
				*/
				
				Nokia.hideSplash();

			};
			
			/*
			 * Show splash while loading components.
			*/
				
			Nokia.showSplash('<span>loading</span>');
			
			Nokia.use('textlabel', init);

		</script>

	</body>
</html>